﻿@ModelType Employee
@Code
    ViewData("Title") = "Details"
End Code

<h2>Details</h2>

<div>
    <h4>Employee</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(Function(model) model.LastName)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.LastName)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.FirstName)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.FirstName)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Title)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Title)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.TitleOfCourtesy)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.TitleOfCourtesy)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.BirthDate)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.BirthDate)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.HireDate)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.HireDate)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Address)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Address)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.City)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.City)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Region)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Region)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.PostalCode)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.PostalCode)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Country)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Country)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.HomePhone)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.HomePhone)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Extension)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Extension)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Photo)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Photo)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.Notes)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.Notes)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.ReportsTo)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.ReportsTo)
        </dd>

        <dt>
            @Html.DisplayNameFor(Function(model) model.upsize_ts)
        </dt>

        <dd>
            @Html.DisplayFor(Function(model) model.upsize_ts)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", New With { .id = Model.EmployeeID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
